package com.aiyi.education.mapper.admin;


import com.aiyi.education.entity.admin.KsAdminPlan;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Mybatis Generator on 2020/04/27
 */
@Repository
public interface KsAdminPlanMapper extends BaseMapper<KsAdminPlan> {
    int deleteByPrimaryKey(Integer id);

    int insertData(KsAdminPlan record);

    int insertSelective(KsAdminPlan record);

    KsAdminPlan selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(KsAdminPlan record);

    int updateByPrimaryKeyWithBLOBs(KsAdminPlan record);

    int updateByPrimaryKey(KsAdminPlan record);

    List<KsAdminPlan> selectByWrapper(Page<KsAdminPlan> pageModel, @Param("ew") QueryWrapper wrapper);
}